package com.winning.pmph.vo;

import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;
@Data
@NoArgsConstructor
public class CascaderOption {
    private String id;
    private String name;
    private String parentId;
    private List<CascaderOption> children;

    public CascaderOption(String id, String name) {
        this.id = id;
        this.name = name;
    }

    public CascaderOption(String id, String parentId, String name) {
        this.id = id;
        this.parentId = parentId;
        this.name = name;
    }
}
